package life.mahu.community.model;

import java.util.ArrayList;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdIsNull() {
            addCriterion("github_account_id is null");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdIsNotNull() {
            addCriterion("github_account_id is not null");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdEqualTo(String value) {
            addCriterion("github_account_id =", value, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdNotEqualTo(String value) {
            addCriterion("github_account_id <>", value, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdGreaterThan(String value) {
            addCriterion("github_account_id >", value, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdGreaterThanOrEqualTo(String value) {
            addCriterion("github_account_id >=", value, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdLessThan(String value) {
            addCriterion("github_account_id <", value, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdLessThanOrEqualTo(String value) {
            addCriterion("github_account_id <=", value, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdLike(String value) {
            addCriterion("github_account_id like", value, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdNotLike(String value) {
            addCriterion("github_account_id not like", value, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdIn(List<String> values) {
            addCriterion("github_account_id in", values, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdNotIn(List<String> values) {
            addCriterion("github_account_id not in", values, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdBetween(String value1, String value2) {
            addCriterion("github_account_id between", value1, value2, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGithubAccountIdNotBetween(String value1, String value2) {
            addCriterion("github_account_id not between", value1, value2, "githubAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdIsNull() {
            addCriterion("gitee_account_id is null");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdIsNotNull() {
            addCriterion("gitee_account_id is not null");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdEqualTo(String value) {
            addCriterion("gitee_account_id =", value, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdNotEqualTo(String value) {
            addCriterion("gitee_account_id <>", value, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdGreaterThan(String value) {
            addCriterion("gitee_account_id >", value, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdGreaterThanOrEqualTo(String value) {
            addCriterion("gitee_account_id >=", value, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdLessThan(String value) {
            addCriterion("gitee_account_id <", value, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdLessThanOrEqualTo(String value) {
            addCriterion("gitee_account_id <=", value, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdLike(String value) {
            addCriterion("gitee_account_id like", value, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdNotLike(String value) {
            addCriterion("gitee_account_id not like", value, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdIn(List<String> values) {
            addCriterion("gitee_account_id in", values, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdNotIn(List<String> values) {
            addCriterion("gitee_account_id not in", values, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdBetween(String value1, String value2) {
            addCriterion("gitee_account_id between", value1, value2, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andGiteeAccountIdNotBetween(String value1, String value2) {
            addCriterion("gitee_account_id not between", value1, value2, "giteeAccountId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andTokenIsNull() {
            addCriterion("token is null");
            return (Criteria) this;
        }

        public Criteria andTokenIsNotNull() {
            addCriterion("token is not null");
            return (Criteria) this;
        }

        public Criteria andTokenEqualTo(String value) {
            addCriterion("token =", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotEqualTo(String value) {
            addCriterion("token <>", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenGreaterThan(String value) {
            addCriterion("token >", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenGreaterThanOrEqualTo(String value) {
            addCriterion("token >=", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenLessThan(String value) {
            addCriterion("token <", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenLessThanOrEqualTo(String value) {
            addCriterion("token <=", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenLike(String value) {
            addCriterion("token like", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotLike(String value) {
            addCriterion("token not like", value, "token");
            return (Criteria) this;
        }

        public Criteria andTokenIn(List<String> values) {
            addCriterion("token in", values, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotIn(List<String> values) {
            addCriterion("token not in", values, "token");
            return (Criteria) this;
        }

        public Criteria andTokenBetween(String value1, String value2) {
            addCriterion("token between", value1, value2, "token");
            return (Criteria) this;
        }

        public Criteria andTokenNotBetween(String value1, String value2) {
            addCriterion("token not between", value1, value2, "token");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Long value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Long value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Long value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Long value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Long value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Long value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Long> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Long> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Long value1, Long value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Long value1, Long value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(Long value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(Long value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(Long value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(Long value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(Long value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(Long value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<Long> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<Long> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(Long value1, Long value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(Long value1, Long value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andBioIsNull() {
            addCriterion("bio is null");
            return (Criteria) this;
        }

        public Criteria andBioIsNotNull() {
            addCriterion("bio is not null");
            return (Criteria) this;
        }

        public Criteria andBioEqualTo(String value) {
            addCriterion("bio =", value, "bio");
            return (Criteria) this;
        }

        public Criteria andBioNotEqualTo(String value) {
            addCriterion("bio <>", value, "bio");
            return (Criteria) this;
        }

        public Criteria andBioGreaterThan(String value) {
            addCriterion("bio >", value, "bio");
            return (Criteria) this;
        }

        public Criteria andBioGreaterThanOrEqualTo(String value) {
            addCriterion("bio >=", value, "bio");
            return (Criteria) this;
        }

        public Criteria andBioLessThan(String value) {
            addCriterion("bio <", value, "bio");
            return (Criteria) this;
        }

        public Criteria andBioLessThanOrEqualTo(String value) {
            addCriterion("bio <=", value, "bio");
            return (Criteria) this;
        }

        public Criteria andBioLike(String value) {
            addCriterion("bio like", value, "bio");
            return (Criteria) this;
        }

        public Criteria andBioNotLike(String value) {
            addCriterion("bio not like", value, "bio");
            return (Criteria) this;
        }

        public Criteria andBioIn(List<String> values) {
            addCriterion("bio in", values, "bio");
            return (Criteria) this;
        }

        public Criteria andBioNotIn(List<String> values) {
            addCriterion("bio not in", values, "bio");
            return (Criteria) this;
        }

        public Criteria andBioBetween(String value1, String value2) {
            addCriterion("bio between", value1, value2, "bio");
            return (Criteria) this;
        }

        public Criteria andBioNotBetween(String value1, String value2) {
            addCriterion("bio not between", value1, value2, "bio");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlIsNull() {
            addCriterion("avatar_url is null");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlIsNotNull() {
            addCriterion("avatar_url is not null");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlEqualTo(String value) {
            addCriterion("avatar_url =", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotEqualTo(String value) {
            addCriterion("avatar_url <>", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlGreaterThan(String value) {
            addCriterion("avatar_url >", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlGreaterThanOrEqualTo(String value) {
            addCriterion("avatar_url >=", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlLessThan(String value) {
            addCriterion("avatar_url <", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlLessThanOrEqualTo(String value) {
            addCriterion("avatar_url <=", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlLike(String value) {
            addCriterion("avatar_url like", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotLike(String value) {
            addCriterion("avatar_url not like", value, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlIn(List<String> values) {
            addCriterion("avatar_url in", values, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotIn(List<String> values) {
            addCriterion("avatar_url not in", values, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlBetween(String value1, String value2) {
            addCriterion("avatar_url between", value1, value2, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andAvatarUrlNotBetween(String value1, String value2) {
            addCriterion("avatar_url not between", value1, value2, "avatarUrl");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andFollowCountIsNull() {
            addCriterion("follow_count is null");
            return (Criteria) this;
        }

        public Criteria andFollowCountIsNotNull() {
            addCriterion("follow_count is not null");
            return (Criteria) this;
        }

        public Criteria andFollowCountEqualTo(Long value) {
            addCriterion("follow_count =", value, "followCount");
            return (Criteria) this;
        }

        public Criteria andFollowCountNotEqualTo(Long value) {
            addCriterion("follow_count <>", value, "followCount");
            return (Criteria) this;
        }

        public Criteria andFollowCountGreaterThan(Long value) {
            addCriterion("follow_count >", value, "followCount");
            return (Criteria) this;
        }

        public Criteria andFollowCountGreaterThanOrEqualTo(Long value) {
            addCriterion("follow_count >=", value, "followCount");
            return (Criteria) this;
        }

        public Criteria andFollowCountLessThan(Long value) {
            addCriterion("follow_count <", value, "followCount");
            return (Criteria) this;
        }

        public Criteria andFollowCountLessThanOrEqualTo(Long value) {
            addCriterion("follow_count <=", value, "followCount");
            return (Criteria) this;
        }

        public Criteria andFollowCountIn(List<Long> values) {
            addCriterion("follow_count in", values, "followCount");
            return (Criteria) this;
        }

        public Criteria andFollowCountNotIn(List<Long> values) {
            addCriterion("follow_count not in", values, "followCount");
            return (Criteria) this;
        }

        public Criteria andFollowCountBetween(Long value1, Long value2) {
            addCriterion("follow_count between", value1, value2, "followCount");
            return (Criteria) this;
        }

        public Criteria andFollowCountNotBetween(Long value1, Long value2) {
            addCriterion("follow_count not between", value1, value2, "followCount");
            return (Criteria) this;
        }

        public Criteria andGithubUrlIsNull() {
            addCriterion("github_url is null");
            return (Criteria) this;
        }

        public Criteria andGithubUrlIsNotNull() {
            addCriterion("github_url is not null");
            return (Criteria) this;
        }

        public Criteria andGithubUrlEqualTo(String value) {
            addCriterion("github_url =", value, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlNotEqualTo(String value) {
            addCriterion("github_url <>", value, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlGreaterThan(String value) {
            addCriterion("github_url >", value, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlGreaterThanOrEqualTo(String value) {
            addCriterion("github_url >=", value, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlLessThan(String value) {
            addCriterion("github_url <", value, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlLessThanOrEqualTo(String value) {
            addCriterion("github_url <=", value, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlLike(String value) {
            addCriterion("github_url like", value, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlNotLike(String value) {
            addCriterion("github_url not like", value, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlIn(List<String> values) {
            addCriterion("github_url in", values, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlNotIn(List<String> values) {
            addCriterion("github_url not in", values, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlBetween(String value1, String value2) {
            addCriterion("github_url between", value1, value2, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubUrlNotBetween(String value1, String value2) {
            addCriterion("github_url not between", value1, value2, "githubUrl");
            return (Criteria) this;
        }

        public Criteria andGithubNameIsNull() {
            addCriterion("github_name is null");
            return (Criteria) this;
        }

        public Criteria andGithubNameIsNotNull() {
            addCriterion("github_name is not null");
            return (Criteria) this;
        }

        public Criteria andGithubNameEqualTo(String value) {
            addCriterion("github_name =", value, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameNotEqualTo(String value) {
            addCriterion("github_name <>", value, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameGreaterThan(String value) {
            addCriterion("github_name >", value, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameGreaterThanOrEqualTo(String value) {
            addCriterion("github_name >=", value, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameLessThan(String value) {
            addCriterion("github_name <", value, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameLessThanOrEqualTo(String value) {
            addCriterion("github_name <=", value, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameLike(String value) {
            addCriterion("github_name like", value, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameNotLike(String value) {
            addCriterion("github_name not like", value, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameIn(List<String> values) {
            addCriterion("github_name in", values, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameNotIn(List<String> values) {
            addCriterion("github_name not in", values, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameBetween(String value1, String value2) {
            addCriterion("github_name between", value1, value2, "githubName");
            return (Criteria) this;
        }

        public Criteria andGithubNameNotBetween(String value1, String value2) {
            addCriterion("github_name not between", value1, value2, "githubName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameIsNull() {
            addCriterion("gitee_name is null");
            return (Criteria) this;
        }

        public Criteria andGiteeNameIsNotNull() {
            addCriterion("gitee_name is not null");
            return (Criteria) this;
        }

        public Criteria andGiteeNameEqualTo(String value) {
            addCriterion("gitee_name =", value, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameNotEqualTo(String value) {
            addCriterion("gitee_name <>", value, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameGreaterThan(String value) {
            addCriterion("gitee_name >", value, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameGreaterThanOrEqualTo(String value) {
            addCriterion("gitee_name >=", value, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameLessThan(String value) {
            addCriterion("gitee_name <", value, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameLessThanOrEqualTo(String value) {
            addCriterion("gitee_name <=", value, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameLike(String value) {
            addCriterion("gitee_name like", value, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameNotLike(String value) {
            addCriterion("gitee_name not like", value, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameIn(List<String> values) {
            addCriterion("gitee_name in", values, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameNotIn(List<String> values) {
            addCriterion("gitee_name not in", values, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameBetween(String value1, String value2) {
            addCriterion("gitee_name between", value1, value2, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeNameNotBetween(String value1, String value2) {
            addCriterion("gitee_name not between", value1, value2, "giteeName");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlIsNull() {
            addCriterion("gitee_url is null");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlIsNotNull() {
            addCriterion("gitee_url is not null");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlEqualTo(String value) {
            addCriterion("gitee_url =", value, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlNotEqualTo(String value) {
            addCriterion("gitee_url <>", value, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlGreaterThan(String value) {
            addCriterion("gitee_url >", value, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlGreaterThanOrEqualTo(String value) {
            addCriterion("gitee_url >=", value, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlLessThan(String value) {
            addCriterion("gitee_url <", value, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlLessThanOrEqualTo(String value) {
            addCriterion("gitee_url <=", value, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlLike(String value) {
            addCriterion("gitee_url like", value, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlNotLike(String value) {
            addCriterion("gitee_url not like", value, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlIn(List<String> values) {
            addCriterion("gitee_url in", values, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlNotIn(List<String> values) {
            addCriterion("gitee_url not in", values, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlBetween(String value1, String value2) {
            addCriterion("gitee_url between", value1, value2, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeUrlNotBetween(String value1, String value2) {
            addCriterion("gitee_url not between", value1, value2, "giteeUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlIsNull() {
            addCriterion("github_avatar_url is null");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlIsNotNull() {
            addCriterion("github_avatar_url is not null");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlEqualTo(String value) {
            addCriterion("github_avatar_url =", value, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlNotEqualTo(String value) {
            addCriterion("github_avatar_url <>", value, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlGreaterThan(String value) {
            addCriterion("github_avatar_url >", value, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlGreaterThanOrEqualTo(String value) {
            addCriterion("github_avatar_url >=", value, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlLessThan(String value) {
            addCriterion("github_avatar_url <", value, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlLessThanOrEqualTo(String value) {
            addCriterion("github_avatar_url <=", value, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlLike(String value) {
            addCriterion("github_avatar_url like", value, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlNotLike(String value) {
            addCriterion("github_avatar_url not like", value, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlIn(List<String> values) {
            addCriterion("github_avatar_url in", values, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlNotIn(List<String> values) {
            addCriterion("github_avatar_url not in", values, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlBetween(String value1, String value2) {
            addCriterion("github_avatar_url between", value1, value2, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGithubAvatarUrlNotBetween(String value1, String value2) {
            addCriterion("github_avatar_url not between", value1, value2, "githubAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlIsNull() {
            addCriterion("gitee_avatar_url is null");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlIsNotNull() {
            addCriterion("gitee_avatar_url is not null");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlEqualTo(String value) {
            addCriterion("gitee_avatar_url =", value, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlNotEqualTo(String value) {
            addCriterion("gitee_avatar_url <>", value, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlGreaterThan(String value) {
            addCriterion("gitee_avatar_url >", value, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlGreaterThanOrEqualTo(String value) {
            addCriterion("gitee_avatar_url >=", value, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlLessThan(String value) {
            addCriterion("gitee_avatar_url <", value, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlLessThanOrEqualTo(String value) {
            addCriterion("gitee_avatar_url <=", value, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlLike(String value) {
            addCriterion("gitee_avatar_url like", value, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlNotLike(String value) {
            addCriterion("gitee_avatar_url not like", value, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlIn(List<String> values) {
            addCriterion("gitee_avatar_url in", values, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlNotIn(List<String> values) {
            addCriterion("gitee_avatar_url not in", values, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlBetween(String value1, String value2) {
            addCriterion("gitee_avatar_url between", value1, value2, "giteeAvatarUrl");
            return (Criteria) this;
        }

        public Criteria andGiteeAvatarUrlNotBetween(String value1, String value2) {
            addCriterion("gitee_avatar_url not between", value1, value2, "giteeAvatarUrl");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}